﻿namespace Steamworks
{
    using System;
    using System.Runtime.InteropServices;

    [StructLayout(LayoutKind.Sequential, Pack=8)]
    public struct P2PSessionState_t
    {
        public byte m_bConnectionActive;
        public byte m_bConnecting;
        public byte m_eP2PSessionError;
        public byte m_bUsingRelay;
        public int m_nBytesQueuedForSend;
        public int m_nPacketsQueuedForSend;
        public uint m_nRemoteIP;
        public ushort m_nRemotePort;
    }
}

